import request from '@/utils/request'
import Qs from 'qs'
// 设维修来源
export function FaultSourceNum(query) {
  return request({
    url: '/report/reportOverView/faultSourceNum',
    method: 'post',
    headers: {
      'Content-type': 'application/x-www-form-urlencoded'
    },
    data: Qs.stringify(query)
  })
}
// 误报占比分析
export function SelectFalseAlarmRatio(query) {
    return request({
      url: '/report/reportOverView/selectFalseAlarmRatio',
      method: 'post',
      headers: {
        'Content-type': 'application/x-www-form-urlencoded'
      },
      data: Qs.stringify(query)
    })
}
// 维修时长
export function FaultTime(query) {
    return request({
      url: '/report/reportOverView/faultTime',
      method: 'post',
      headers: {
        'Content-type': 'application/x-www-form-urlencoded'
      },
      data: Qs.stringify(query)
    })
}
